from django.urls import path
from .views import *

app_name = 'account'
urlpatterns = [
    # baseInfo
    path('', AccountBaseInfoView.as_view(), name='login_logout'),
    path('register/', RegisterInfoView.as_view(), name='register'),

    # dashboard
    path('dashboard/', UserInfoView.as_view(), name='user_dashboard'),  # get, put, post
    path('dashboard/<int:uid>/', UserInfoView.as_view(), name='user_check_other_user'),  # get
    path('dashboard/activity/', UserActivityInfoView.as_view(), name='user_activity'),  # get
    path('dashboard/activity/<int:uid>/', UserActivityInfoView.as_view(), name='user_check_other_activity'),  # get
]